package com.itheima.domain;


import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode
public class ExcelData {

    //@ExcelProperty("字符串标题") 声明当前字段对应的列
    @ExcelProperty("字符串标题")
    private String title;

    @ExcelProperty("日期标题")   //输入Excel设置他的标题
    private Date date;

    @ExcelProperty("数字标题")
    private Double number;
}
